package labs.fourth;
import static labs.utilities.PrintUtilities.printDebug;
import java.util.*;
import java.io.*;
/* semantic value of token returned by scanner */
public class Lexer extends StaticErrorReport
{
  public static ArrayList<Token> tokens;
  public static void start(BufferedReader reader) throws Exception {
  tokens = new ArrayList<Token>();
    Yylex yy = new Yylex(reader);
    yy.initializeTable();
    Token token = null;
    while ((token = yy.next_token()) != null) {
      tokens.add(token);
      if(token.isError()) {
        break;
      }
    }
  }
}


class Yylex {
	private final int YY_BUFFER_SIZE = 512;
	private final int YY_F = -1;
	private final int YY_NO_STATE = -1;
	private final int YY_NOT_ACCEPT = 0;
	private final int YY_START = 1;
	private final int YY_END = 2;
	private final int YY_NO_ANCHOR = 4;
	private final int YY_BOL = 128;
	private final int YY_EOF = 129;

  public String sourceFilename;
  private StringBuffer string = new StringBuffer();
  private char character = '\0';
  private HashMap<String, Integer> table;
  private int nextState;
  private int numberofCurlyBrackets;
  private int numberofParanthesis;
  private int numberofSquareBrackets;
  private boolean isValidLexically;
  public void display() {
  	String state = "";
  	switch(yy_lexical_state) {
  		case STRING: state = "String"; break;
  		case YYINITIAL: state = "YYInitial"; break;
  		case CHAR: state = "Char"; break;
  		default: state = "none";
  	}
  	printDebug("state: %s, line: %s, char: %s, current char: %s", state, yyline, yychar, yytext());
  }
  public String convertToScientific(String str) {
  	StringBuffer temp = new StringBuffer(str);
  	if (!str.contains(".")) {
  		if (str.length() > 7) {
	  		int eValue = temp.length() - 1;
	  		temp.insert(1, ".");
	  		for(int i = eValue + 1; i >= 0; i--) {
	  			if(temp.charAt(i) == '0') {
	  				temp.deleteCharAt(i);
	  			} else {
	  				break;
	  			}
		  	}
		  	temp.append("E" + eValue);
	  	} else {
	  		temp.append(".0");
	  	}
  	}
  	return temp.toString();
  }
  public void initialize() {
    isValidLexically = true;
    initializeTable();
  }
  public void initializeTable() {
    table = new HashMap<String, Integer>();
    table.put(".", TokenType.NEUTRAL.value);
    table.put("{", TokenType.NEUTRAL.value);
    table.put("}", TokenType.NEUTRAL.value);
    table.put("(", TokenType.NEUTRAL.value);
    table.put(")", TokenType.NEUTRAL.value);
    table.put(";", TokenType.NEUTRAL.value);
    table.put(",", TokenType.NEUTRAL.value);
    table.put("[]", TokenType.NEUTRAL.value);
    table.put("[", TokenType.NEUTRAL.value);
    table.put("]", TokenType.NEUTRAL.value);
    table.put("=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("+=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("-=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("*=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("/=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("&=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("|=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("^=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("%=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("<<=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put(">>=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put(">>>=", TokenType.ASSIGNMENT_OPERATOR.value);
    table.put("<=", TokenType.INFIX_OPERATOR.value);
    table.put(">=", TokenType.INFIX_OPERATOR.value);
    table.put("==", TokenType.INFIX_OPERATOR.value);
    table.put("!=", TokenType.INFIX_OPERATOR.value);
    table.put("&", TokenType.INFIX_OPERATOR.value);
    table.put("|", TokenType.INFIX_OPERATOR.value);
    table.put("^", TokenType.INFIX_OPERATOR.value);
    table.put("<", TokenType.INFIX_OPERATOR.value);
    table.put(">", TokenType.INFIX_OPERATOR.value);
    table.put("*", TokenType.INFIX_OPERATOR.value);
    table.put("/", TokenType.INFIX_OPERATOR.value);
    table.put("<<", TokenType.INFIX_OPERATOR.value);
    table.put(">>", TokenType.INFIX_OPERATOR.value);
    table.put(">>>", TokenType.INFIX_OPERATOR.value);
    table.put("%", TokenType.INFIX_OPERATOR.value);
    table.put("&&", TokenType.INFIX_OPERATOR.value);
    table.put("||", TokenType.INFIX_OPERATOR.value);
    table.put("-", TokenType.getValue(TokenType.INFIX_OPERATOR,
        TokenType.PREFIX_OPERATOR));
    table.put("+", TokenType.getValue(TokenType.INFIX_OPERATOR,
        TokenType.PREFIX_OPERATOR));
    table.put("!", TokenType.PREFIX_OPERATOR.value);
    table.put("~", TokenType.PREFIX_OPERATOR.value);
    table.put("++", TokenType.getValue(TokenType.PREFIX_OPERATOR,
        TokenType.POSTFIX_OPERATOR));
    table.put("--", TokenType.getValue(TokenType.PREFIX_OPERATOR,
        TokenType.POSTFIX_OPERATOR));
  }
  private Token getSym(String str) {
    return new Token(str, yyline, yychar, table.get(str));
  }
  private void printErrorMessage(String msg) {
    Lexer.setErrorMessage(msg);
    Lexer.setErrorLineNumber(yyline);
    Lexer.setErrorColumnNumber(yychar);
    Lexer.setValidProgram(false);
    System.out.println(msg);
    this.isValidLexically = false;
  }
  public int getLineNumber() {
    return yyline;
  }
  private boolean isValidBracket() {
    char currentBracket = yytext().charAt(0);
    if(currentBracket == '(') {
      numberofParanthesis++;
    } else if(currentBracket == '[') {
      numberofSquareBrackets ++;
    } else if(currentBracket == '{') {
      numberofCurlyBrackets++;
    } else if(currentBracket == ')') {
      numberofParanthesis--;
    } else if(currentBracket == ']') {
      numberofSquareBrackets--;
    } else if(currentBracket == '}') {
      numberofCurlyBrackets--;
    }
    return numberofCurlyBrackets > -1 || numberofParanthesis > -1 || numberofSquareBrackets > -1;
  }
  public boolean isValidLexically() {
    return isValidLexically;
  }
	private java.io.BufferedReader yy_reader;
	private int yy_buffer_index;
	private int yy_buffer_read;
	private int yy_buffer_start;
	private int yy_buffer_end;
	private char yy_buffer[];
	private int yychar;
	private int yyline;
	private boolean yy_at_bol;
	private int yy_lexical_state;

	Yylex (java.io.Reader reader) {
		this ();
		if (null == reader) {
			throw (new Error("Error: Bad input stream initializer."));
		}
		yy_reader = new java.io.BufferedReader(reader);
	}

	Yylex (java.io.InputStream instream) {
		this ();
		if (null == instream) {
			throw (new Error("Error: Bad input stream initializer."));
		}
		yy_reader = new java.io.BufferedReader(new java.io.InputStreamReader(instream));
	}

	private Yylex () {
		yy_buffer = new char[YY_BUFFER_SIZE];
		yy_buffer_read = 0;
		yy_buffer_index = 0;
		yy_buffer_start = 0;
		yy_buffer_end = 0;
		yychar = 0;
		yyline = 0;
		yy_at_bol = true;
		yy_lexical_state = YYINITIAL;
	}

	private boolean yy_eof_done = false;
	private final int C_COMMENT = 6;
	private final int STRING = 2;
	private final int END_CHAR = 5;
	private final int YYINITIAL = 0;
	private final int COMMENTS = 1;
	private final int ESCAPE_CHAR = 3;
	private final int CHAR = 4;
	private final int yy_state_dtrans[] = {
		0,
		44,
		50,
		54,
		58,
		61,
		64
	};
	private void yybegin (int state) {
		yy_lexical_state = state;
	}
	private int yy_advance ()
		throws java.io.IOException {
		int next_read;
		int i;
		int j;

		if (yy_buffer_index < yy_buffer_read) {
			return yy_buffer[yy_buffer_index++];
		}

		if (0 != yy_buffer_start) {
			i = yy_buffer_start;
			j = 0;
			while (i < yy_buffer_read) {
				yy_buffer[j] = yy_buffer[i];
				++i;
				++j;
			}
			yy_buffer_end = yy_buffer_end - yy_buffer_start;
			yy_buffer_start = 0;
			yy_buffer_read = j;
			yy_buffer_index = j;
			next_read = yy_reader.read(yy_buffer,
					yy_buffer_read,
					yy_buffer.length - yy_buffer_read);
			if (-1 == next_read) {
				return YY_EOF;
			}
			yy_buffer_read = yy_buffer_read + next_read;
		}

		while (yy_buffer_index >= yy_buffer_read) {
			if (yy_buffer_index >= yy_buffer.length) {
				yy_buffer = yy_double(yy_buffer);
			}
			next_read = yy_reader.read(yy_buffer,
					yy_buffer_read,
					yy_buffer.length - yy_buffer_read);
			if (-1 == next_read) {
				return YY_EOF;
			}
			yy_buffer_read = yy_buffer_read + next_read;
		}
		return yy_buffer[yy_buffer_index++];
	}
	private void yy_move_end () {
		if (yy_buffer_end > yy_buffer_start &&
		    '\n' == yy_buffer[yy_buffer_end-1])
			yy_buffer_end--;
		if (yy_buffer_end > yy_buffer_start &&
		    '\r' == yy_buffer[yy_buffer_end-1])
			yy_buffer_end--;
	}
	private boolean yy_last_was_cr=false;
	private void yy_mark_start () {
		int i;
		for (i = yy_buffer_start; i < yy_buffer_index; ++i) {
			if ('\n' == yy_buffer[i] && !yy_last_was_cr) {
				++yyline;
			}
			if ('\r' == yy_buffer[i]) {
				++yyline;
				yy_last_was_cr=true;
			} else yy_last_was_cr=false;
		}
		yychar = yychar
			+ yy_buffer_index - yy_buffer_start;
		yy_buffer_start = yy_buffer_index;
	}
	private void yy_mark_end () {
		yy_buffer_end = yy_buffer_index;
	}
	private void yy_to_mark () {
		yy_buffer_index = yy_buffer_end;
		yy_at_bol = (yy_buffer_end > yy_buffer_start) &&
		            ('\r' == yy_buffer[yy_buffer_end-1] ||
		             '\n' == yy_buffer[yy_buffer_end-1] ||
		             2028/*LS*/ == yy_buffer[yy_buffer_end-1] ||
		             2029/*PS*/ == yy_buffer[yy_buffer_end-1]);
	}
	private java.lang.String yytext () {
		return (new java.lang.String(yy_buffer,
			yy_buffer_start,
			yy_buffer_end - yy_buffer_start));
	}
	private int yylength () {
		return yy_buffer_end - yy_buffer_start;
	}
	private char[] yy_double (char buf[]) {
		int i;
		char newbuf[];
		newbuf = new char[2*buf.length];
		for (i = 0; i < buf.length; ++i) {
			newbuf[i] = buf[i];
		}
		return newbuf;
	}
	private final int YY_E_INTERNAL = 0;
	private final int YY_E_MATCH = 1;
	private java.lang.String yy_error_string[] = {
		"Error: Internal error.\n",
		"Error: Unmatched input.\n"
	};
	private void yy_error (int code,boolean fatal) {
		java.lang.System.out.print(yy_error_string[code]);
		java.lang.System.out.flush();
		if (fatal) {
			throw new Error("Fatal Error.\n");
		}
	}
	private int[][] unpackFromString(int size1, int size2, String st) {
		int colonIndex = -1;
		String lengthString;
		int sequenceLength = 0;
		int sequenceInteger = 0;

		int commaIndex;
		String workString;

		int res[][] = new int[size1][size2];
		for (int i= 0; i < size1; i++) {
			for (int j= 0; j < size2; j++) {
				if (sequenceLength != 0) {
					res[i][j] = sequenceInteger;
					sequenceLength--;
					continue;
				}
				commaIndex = st.indexOf(',');
				workString = (commaIndex==-1) ? st :
					st.substring(0, commaIndex);
				st = st.substring(commaIndex+1);
				colonIndex = workString.indexOf(':');
				if (colonIndex == -1) {
					res[i][j]=Integer.parseInt(workString);
					continue;
				}
				lengthString =
					workString.substring(colonIndex+1);
				sequenceLength=Integer.parseInt(lengthString);
				workString=workString.substring(0,colonIndex);
				sequenceInteger=Integer.parseInt(workString);
				res[i][j] = sequenceInteger;
				sequenceLength--;
			}
		}
		return res;
	}
	private int yy_acpt[] = {
		/* 0 */ YY_NOT_ACCEPT,
		/* 1 */ YY_NO_ANCHOR,
		/* 2 */ YY_NO_ANCHOR,
		/* 3 */ YY_NO_ANCHOR,
		/* 4 */ YY_NO_ANCHOR,
		/* 5 */ YY_NO_ANCHOR,
		/* 6 */ YY_NO_ANCHOR,
		/* 7 */ YY_NO_ANCHOR,
		/* 8 */ YY_NO_ANCHOR,
		/* 9 */ YY_NO_ANCHOR,
		/* 10 */ YY_NO_ANCHOR,
		/* 11 */ YY_NO_ANCHOR,
		/* 12 */ YY_NO_ANCHOR,
		/* 13 */ YY_NO_ANCHOR,
		/* 14 */ YY_NO_ANCHOR,
		/* 15 */ YY_NO_ANCHOR,
		/* 16 */ YY_NO_ANCHOR,
		/* 17 */ YY_NO_ANCHOR,
		/* 18 */ YY_NO_ANCHOR,
		/* 19 */ YY_NO_ANCHOR,
		/* 20 */ YY_NO_ANCHOR,
		/* 21 */ YY_NO_ANCHOR,
		/* 22 */ YY_NO_ANCHOR,
		/* 23 */ YY_NO_ANCHOR,
		/* 24 */ YY_NO_ANCHOR,
		/* 25 */ YY_NO_ANCHOR,
		/* 26 */ YY_NO_ANCHOR,
		/* 27 */ YY_NO_ANCHOR,
		/* 28 */ YY_NO_ANCHOR,
		/* 29 */ YY_NO_ANCHOR,
		/* 30 */ YY_NO_ANCHOR,
		/* 31 */ YY_NO_ANCHOR,
		/* 32 */ YY_NO_ANCHOR,
		/* 33 */ YY_NO_ANCHOR,
		/* 34 */ YY_NO_ANCHOR,
		/* 35 */ YY_NOT_ACCEPT,
		/* 36 */ YY_NO_ANCHOR,
		/* 37 */ YY_NO_ANCHOR,
		/* 38 */ YY_NO_ANCHOR,
		/* 39 */ YY_NO_ANCHOR,
		/* 40 */ YY_NO_ANCHOR,
		/* 41 */ YY_NO_ANCHOR,
		/* 42 */ YY_NO_ANCHOR,
		/* 43 */ YY_NO_ANCHOR,
		/* 44 */ YY_NOT_ACCEPT,
		/* 45 */ YY_NO_ANCHOR,
		/* 46 */ YY_NO_ANCHOR,
		/* 47 */ YY_NO_ANCHOR,
		/* 48 */ YY_NO_ANCHOR,
		/* 49 */ YY_NO_ANCHOR,
		/* 50 */ YY_NOT_ACCEPT,
		/* 51 */ YY_NO_ANCHOR,
		/* 52 */ YY_NO_ANCHOR,
		/* 53 */ YY_NO_ANCHOR,
		/* 54 */ YY_NOT_ACCEPT,
		/* 55 */ YY_NO_ANCHOR,
		/* 56 */ YY_NO_ANCHOR,
		/* 57 */ YY_NO_ANCHOR,
		/* 58 */ YY_NOT_ACCEPT,
		/* 59 */ YY_NO_ANCHOR,
		/* 60 */ YY_NO_ANCHOR,
		/* 61 */ YY_NOT_ACCEPT,
		/* 62 */ YY_NO_ANCHOR,
		/* 63 */ YY_NO_ANCHOR,
		/* 64 */ YY_NOT_ACCEPT,
		/* 65 */ YY_NO_ANCHOR,
		/* 66 */ YY_NO_ANCHOR,
		/* 67 */ YY_NO_ANCHOR,
		/* 68 */ YY_NO_ANCHOR,
		/* 69 */ YY_NO_ANCHOR,
		/* 70 */ YY_NO_ANCHOR,
		/* 71 */ YY_NO_ANCHOR,
		/* 72 */ YY_NO_ANCHOR,
		/* 73 */ YY_NO_ANCHOR,
		/* 74 */ YY_NO_ANCHOR,
		/* 75 */ YY_NO_ANCHOR,
		/* 76 */ YY_NO_ANCHOR,
		/* 77 */ YY_NO_ANCHOR,
		/* 78 */ YY_NO_ANCHOR,
		/* 79 */ YY_NO_ANCHOR,
		/* 80 */ YY_NO_ANCHOR,
		/* 81 */ YY_NO_ANCHOR,
		/* 82 */ YY_NO_ANCHOR,
		/* 83 */ YY_NO_ANCHOR,
		/* 84 */ YY_NO_ANCHOR,
		/* 85 */ YY_NO_ANCHOR,
		/* 86 */ YY_NO_ANCHOR,
		/* 87 */ YY_NO_ANCHOR,
		/* 88 */ YY_NO_ANCHOR,
		/* 89 */ YY_NO_ANCHOR,
		/* 90 */ YY_NO_ANCHOR,
		/* 91 */ YY_NO_ANCHOR,
		/* 92 */ YY_NO_ANCHOR,
		/* 93 */ YY_NO_ANCHOR,
		/* 94 */ YY_NO_ANCHOR,
		/* 95 */ YY_NO_ANCHOR,
		/* 96 */ YY_NO_ANCHOR,
		/* 97 */ YY_NO_ANCHOR,
		/* 98 */ YY_NO_ANCHOR,
		/* 99 */ YY_NO_ANCHOR,
		/* 100 */ YY_NO_ANCHOR,
		/* 101 */ YY_NO_ANCHOR,
		/* 102 */ YY_NO_ANCHOR,
		/* 103 */ YY_NO_ANCHOR,
		/* 104 */ YY_NO_ANCHOR,
		/* 105 */ YY_NO_ANCHOR,
		/* 106 */ YY_NO_ANCHOR,
		/* 107 */ YY_NO_ANCHOR,
		/* 108 */ YY_NO_ANCHOR,
		/* 109 */ YY_NO_ANCHOR,
		/* 110 */ YY_NO_ANCHOR,
		/* 111 */ YY_NO_ANCHOR,
		/* 112 */ YY_NO_ANCHOR,
		/* 113 */ YY_NO_ANCHOR,
		/* 114 */ YY_NO_ANCHOR,
		/* 115 */ YY_NO_ANCHOR,
		/* 116 */ YY_NO_ANCHOR,
		/* 117 */ YY_NO_ANCHOR,
		/* 118 */ YY_NO_ANCHOR,
		/* 119 */ YY_NO_ANCHOR,
		/* 120 */ YY_NO_ANCHOR,
		/* 121 */ YY_NO_ANCHOR,
		/* 122 */ YY_NO_ANCHOR,
		/* 123 */ YY_NO_ANCHOR,
		/* 124 */ YY_NO_ANCHOR,
		/* 125 */ YY_NO_ANCHOR,
		/* 126 */ YY_NO_ANCHOR,
		/* 127 */ YY_NO_ANCHOR,
		/* 128 */ YY_NO_ANCHOR,
		/* 129 */ YY_NO_ANCHOR,
		/* 130 */ YY_NO_ANCHOR,
		/* 131 */ YY_NO_ANCHOR,
		/* 132 */ YY_NO_ANCHOR,
		/* 133 */ YY_NO_ANCHOR,
		/* 134 */ YY_NO_ANCHOR,
		/* 135 */ YY_NO_ANCHOR,
		/* 136 */ YY_NO_ANCHOR,
		/* 137 */ YY_NO_ANCHOR,
		/* 138 */ YY_NO_ANCHOR,
		/* 139 */ YY_NO_ANCHOR,
		/* 140 */ YY_NO_ANCHOR,
		/* 141 */ YY_NO_ANCHOR,
		/* 142 */ YY_NO_ANCHOR,
		/* 143 */ YY_NO_ANCHOR,
		/* 144 */ YY_NO_ANCHOR,
		/* 145 */ YY_NO_ANCHOR,
		/* 146 */ YY_NO_ANCHOR,
		/* 147 */ YY_NO_ANCHOR,
		/* 148 */ YY_NO_ANCHOR,
		/* 149 */ YY_NOT_ACCEPT,
		/* 150 */ YY_NO_ANCHOR,
		/* 151 */ YY_NO_ANCHOR,
		/* 152 */ YY_NO_ANCHOR,
		/* 153 */ YY_NO_ANCHOR,
		/* 154 */ YY_NO_ANCHOR,
		/* 155 */ YY_NO_ANCHOR,
		/* 156 */ YY_NO_ANCHOR,
		/* 157 */ YY_NO_ANCHOR,
		/* 158 */ YY_NO_ANCHOR,
		/* 159 */ YY_NO_ANCHOR,
		/* 160 */ YY_NO_ANCHOR,
		/* 161 */ YY_NO_ANCHOR,
		/* 162 */ YY_NO_ANCHOR,
		/* 163 */ YY_NO_ANCHOR,
		/* 164 */ YY_NO_ANCHOR,
		/* 165 */ YY_NO_ANCHOR,
		/* 166 */ YY_NO_ANCHOR,
		/* 167 */ YY_NO_ANCHOR,
		/* 168 */ YY_NO_ANCHOR,
		/* 169 */ YY_NO_ANCHOR,
		/* 170 */ YY_NO_ANCHOR,
		/* 171 */ YY_NO_ANCHOR,
		/* 172 */ YY_NO_ANCHOR,
		/* 173 */ YY_NO_ANCHOR,
		/* 174 */ YY_NO_ANCHOR,
		/* 175 */ YY_NO_ANCHOR,
		/* 176 */ YY_NO_ANCHOR,
		/* 177 */ YY_NO_ANCHOR,
		/* 178 */ YY_NO_ANCHOR,
		/* 179 */ YY_NO_ANCHOR,
		/* 180 */ YY_NO_ANCHOR,
		/* 181 */ YY_NO_ANCHOR,
		/* 182 */ YY_NO_ANCHOR,
		/* 183 */ YY_NO_ANCHOR,
		/* 184 */ YY_NO_ANCHOR,
		/* 185 */ YY_NO_ANCHOR,
		/* 186 */ YY_NO_ANCHOR,
		/* 187 */ YY_NO_ANCHOR,
		/* 188 */ YY_NO_ANCHOR,
		/* 189 */ YY_NO_ANCHOR,
		/* 190 */ YY_NO_ANCHOR,
		/* 191 */ YY_NO_ANCHOR,
		/* 192 */ YY_NO_ANCHOR,
		/* 193 */ YY_NO_ANCHOR,
		/* 194 */ YY_NO_ANCHOR,
		/* 195 */ YY_NO_ANCHOR,
		/* 196 */ YY_NO_ANCHOR,
		/* 197 */ YY_NO_ANCHOR,
		/* 198 */ YY_NO_ANCHOR,
		/* 199 */ YY_NO_ANCHOR,
		/* 200 */ YY_NO_ANCHOR,
		/* 201 */ YY_NO_ANCHOR,
		/* 202 */ YY_NO_ANCHOR,
		/* 203 */ YY_NO_ANCHOR,
		/* 204 */ YY_NO_ANCHOR,
		/* 205 */ YY_NO_ANCHOR,
		/* 206 */ YY_NO_ANCHOR,
		/* 207 */ YY_NO_ANCHOR,
		/* 208 */ YY_NO_ANCHOR,
		/* 209 */ YY_NO_ANCHOR,
		/* 210 */ YY_NO_ANCHOR,
		/* 211 */ YY_NO_ANCHOR,
		/* 212 */ YY_NO_ANCHOR
	};
	private int yy_cmap[] = unpackFromString(1,130,
"3:8,6:2,4,3,6,5,3:18,6,41,14,3:3,42,7,48:2,2,44,48,45,16,1,15:10,48:2,39,40" +
",39,48,3,37:4,17,37:21,46,8,47,38,37,3,18,11,20,27,24,12,29,26,22,37,31,28," +
"35,9,21,30,37,13,19,10,23,34,25,36,32,33,48,43,48,3:2,0:2")[0];

	private int yy_rmap[] = unpackFromString(1,213,
"0,1,2,1:2,3,4,5,1,6,1,7:2,8,1:2,9,1:18,10,11,12,13,14,1:2,15,16,17,1,18,19," +
"20,21,22,7,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,4" +
"4,45,46,47,48,49,50,51,52,53,54,55,56,24,57,58,59,60,61,62,63,64,65,66,67,6" +
"8,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,60,84,85,86,87,88,89,90,91,9" +
"2,93,94,95,38,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,1" +
"12,113,114,115,116,19,117,118,119,120,121,122,97,123,124,125,126,127,128,12" +
"9,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,1" +
"48,131,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165," +
"166,9,167,168,169,170,171,172,173,174,175,176")[0];

	private int yy_nxt[][] = unpackFromString(177,49,
"1,2,36,3,4:2,5,6,3,7,148,176,191,199,8,9,10,202,203,204,205,202,37,202,206," +
"207,202,46,208,209,210,202:3,211,202:3,45,51,11,12,55,59,62,65,39,10:2,-1:5" +
"0,13,14,-1:37,40,-1:14,5,-1:50,15,-1:49,202:5,-1,202,-1,202,212,202:5,52,20" +
"2:13,-1:26,9,35,149,-1:71,45,-1:9,13:3,-1,13:44,-1:9,202:5,-1,202,-1,202:21" +
",-1:26,38,-1:73,40,-1:17,78,202:2,16,202,-1,202,-1,202:18,155,202:2,-1:26,3" +
"8,-1,149,-1:78,10,-1:10,202:5,-1,202,-1,202:6,160,202:14,-1:12,34,-1:47,1,-" +
"1:57,202:5,-1,202,-1,202:4,42,202:2,80,202:13,-1:26,47,-1:42,202:5,-1,202,-" +
"1,202:7,113,202:13,-1:15,49:2,-1:43,1,17:3,18:2,17:2,19,17:5,20,17:34,-1:9," +
"202:5,-1,202,-1,202:8,16,202:12,-1:20,202:5,-1,202,-1,202:2,16,202:18,-1:11" +
",1,21:3,-1:2,21,22,23,24,25,26,27,28,29,21:34,-1:42,45,-1:15,202:5,-1,202,-" +
"1,202,200,202:4,85,202:8,16,202:5,-1:20,202:5,-1,202,-1,202:11,131,202:9,-1" +
":11,1,30:3,-1:2,30:43,-1:43,45,-1:14,202:4,192,-1,202,-1,202:5,86,202:15,-1" +
":11,1,31:6,32,31:41,-1:40,40,-1:3,41,-1:13,202:5,-1,202,-1,202:7,157,202:13" +
",-1:11,1,33,43,33,49:2,33:43,-1:40,40,-1:4,41,-1:12,202:5,-1,202,-1,202:4,1" +
"52,202:16,-1:20,202,85,202:3,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202:11," +
"180,202:9,-1:20,202:4,16,-1,202,-1,202:21,-1:20,182,202:4,-1,202,-1,202:21," +
"-1:20,202:5,-1,202,-1,202:2,87,202:18,-1:20,202:4,195,-1,202,-1,202,161,202" +
":19,-1:20,202:5,-1,202,-1,202:13,89,202:7,-1:20,202:5,-1,202,-1,202:5,184,2" +
"02:15,-1:20,202,183,202:3,-1,202,-1,202:2,85,202:18,-1:20,202:5,-1,202,-1,2" +
"02,69,202:19,-1:20,202:5,-1,202,-1,202,92,202:19,-1:20,202,48,202:3,-1,202," +
"-1,202:2,197,202:18,-1:20,202:5,-1,202,-1,202:6,94,202:14,-1:20,202:3,96,20" +
"2,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202:4,201,99,202:15,-1:20,202:5,-1" +
",202,-1,202:3,100,202:17,-1:20,202:2,101,202:2,-1,202,-1,202:21,-1:20,202:5" +
",-1,202,-1,202:5,102,202:5,164,202:9,-1:20,202:5,-1,202,-1,202:7,16,202:13," +
"-1:20,202,186,202:3,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202:7,90,202:13," +
"-1:20,202:5,-1,202,-1,202:7,69,202:13,-1:20,202:4,108,-1,202,-1,202:21,-1:2" +
"0,202,166,202:3,-1,202,-1,202:2,108,202:18,-1:20,202:5,-1,202,-1,202:2,86,2" +
"02:18,-1:20,202:5,-1,202,-1,202:4,114,202:6,115,202:9,-1:20,202:5,-1,202,-1" +
",202:18,16,202:2,-1:20,202:5,-1,202,-1,202:11,85,202:9,-1:20,202:5,-1,202,-" +
"1,202,117,202:19,-1:20,202:5,-1,202,-1,202:12,16,202:8,-1:20,202:5,-1,202,-" +
"1,202:4,16,202:16,-1:20,202:5,-1,202,-1,202:17,118,202:3,-1:20,202:5,-1,202" +
",-1,202:14,170,202:6,-1:20,202:5,-1,202,-1,202:11,110,202:9,-1:20,202:5,-1," +
"202,-1,202:10,16,202:10,-1:20,202:5,-1,202,-1,202:17,85,202:3,-1:20,202:5,-" +
"1,202,-1,202:2,188,202:18,-1:20,202:5,-1,202,-1,202:8,53,202:12,-1:20,202:5" +
",-1,202,-1,202:14,16,202:6,-1:20,202:5,-1,202,-1,202:11,57,202:9,-1:20,202," +
"16,202:3,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202:3,171,202:17,-1:20,202:" +
"5,-1,202,-1,202:5,121,202:15,-1:20,202:5,-1,202,-1,202:9,167,202:11,-1:20,2" +
"02:5,-1,202,-1,202:9,16,202:11,-1:20,202:4,122,-1,202,-1,202:21,-1:20,202:5" +
",-1,202,-1,202:7,123,202:13,-1:20,124,202:4,-1,202,-1,202:21,-1:20,202:5,-1" +
",202,-1,202:6,125,202:14,-1:20,202:5,-1,202,-1,202,127,202:19,-1:20,202,129" +
",202:3,-1,202,-1,202:21,-1:20,16,202:4,-1,202,-1,202:21,-1:20,202:5,-1,202," +
"-1,202:3,16,202:17,-1:20,202:3,135,202,-1,202,-1,202:21,-1:20,202:5,-1,202," +
"-1,202:18,174,202:2,-1:20,202:5,-1,202,-1,202:10,86,202:10,-1:20,202:5,-1,2" +
"02,-1,202:11,108,202:9,-1:20,202:5,-1,202,-1,202:3,136,202:17,-1:20,202:5,-" +
"1,202,-1,202:12,85,202:8,-1:20,202:5,-1,202,-1,202:5,95,202:15,-1:20,202:5," +
"-1,202,-1,202:7,137,202:13,-1:20,202:5,-1,202,-1,202:15,16,202:5,-1:20,202:" +
"5,-1,202,-1,202:3,108,202:17,-1:20,202:5,-1,202,-1,202:4,139,202:16,-1:20,2" +
"02:5,-1,202,-1,202:6,85,202:14,-1:20,202:5,-1,202,-1,202,140,202:19,-1:20,2" +
"02,142,202:3,-1,202,-1,202:21,-1:20,108,202:4,-1,202,-1,202:21,-1:20,202:5," +
"-1,202,-1,202:13,16,202:7,-1:20,143,202:4,-1,202,-1,202:21,-1:20,202:5,-1,2" +
"02,-1,202:3,85,202:17,-1:20,202:5,-1,202,-1,202:7,144,202:13,-1:20,202:5,-1" +
",202,-1,202:7,102,202:13,-1:20,202:5,-1,202,-1,202:5,146,202:15,-1:20,202:5" +
",-1,202,-1,202:4,147,202:16,-1:20,202,86,202:3,-1,202,-1,202:21,-1:20,202:5" +
",-1,202,-1,202:16,142,202:4,-1:20,202:3,16,202,-1,202,-1,202:21,-1:20,202:4" +
",56,-1,202,-1,202:9,60,202:11,-1:20,202:5,-1,202,-1,202:4,196,202:16,-1:20," +
"202,158,202:3,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202:11,185,202:9,-1:20" +
",159,202:4,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202:2,88,202:18,-1:20,202" +
":5,-1,202,-1,202:13,93,202:7,-1:20,202:5,-1,202,-1,202,106,202:19,-1:20,202" +
":5,-1,202,-1,202:6,163,202:14,-1:20,202:5,-1,202,-1,202:3,111,202:17,-1:20," +
"202:2,95,202:2,-1,202,-1,202:21,-1:20,202,110,202:3,-1,202,-1,202:21,-1:20," +
"202:5,-1,202,-1,202:7,116,202:13,-1:20,202:4,120,-1,202,-1,202:21,-1:20,202" +
":5,-1,202,-1,202,119,202:19,-1:20,202:5,-1,202,-1,202:3,112,202:17,-1:20,20" +
"2:5,-1,202,-1,202:5,169,202:15,-1:20,202:4,133,-1,202,-1,202:21,-1:20,202:5" +
",-1,202,-1,202:7,126,202:13,-1:20,134,202:4,-1,202,-1,202:21,-1:20,202:5,-1" +
",202,-1,202,128,202:19,-1:20,202,172,202:3,-1,202,-1,202:21,-1:20,202:3,138" +
",202,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202:3,141,202:17,-1:20,202:5,-1" +
",202,-1,202:7,175,202:13,-1:20,145,202:4,-1,202,-1,202:21,-1:20,202:4,63,-1" +
",202,-1,202:4,66,202:10,67,202:5,-1:20,202:5,-1,202,-1,202:4,90,202:16,-1:2" +
"0,202,162,202:3,-1,202,-1,202:21,-1:20,91,202:4,-1,202,-1,202:21,-1:20,202:" +
"5,-1,202,-1,202:2,85,202:18,-1:20,202:5,-1,202,-1,202:5,103,202:15,-1:20,20" +
"2:5,-1,202,-1,202,107,202:19,-1:20,202,165,202:3,-1,202,-1,202:21,-1:20,202" +
":5,-1,202,-1,202:7,190,202:13,-1:20,202:4,198,-1,202,-1,202:21,-1:20,202:5," +
"-1,202,-1,202,189,202:19,-1:20,202:5,-1,202,-1,202:5,130,202:15,-1:20,173,2" +
"02:4,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202,120,202:19,-1:20,202:5,-1,2" +
"02,-1,202,68,202:2,69,70,202:5,150,202:9,-1:20,202:5,-1,202,-1,202:4,105,20" +
"2:16,-1:20,202,98,202:3,-1,202,-1,202:21,-1:20,97,202:4,-1,202,-1,202:21,-1" +
":20,202:5,-1,202,-1,202:5,109,202:15,-1:20,202:5,-1,202,-1,202,108,202:19,-" +
"1:20,202,187,202:3,-1,202,-1,202:21,-1:20,202:5,-1,202,-1,202,132,202:19,-1" +
":20,202:5,-1,202,-1,202:7,151,202:13,-1:20,104,202:4,-1,202,-1,202:21,-1:20" +
",202,168,202:3,-1,202,-1,202:21,-1:20,202:2,71,202:2,-1,202,-1,202:2,154,20" +
"2:18,-1:20,202,72,202:3,-1,202,-1,202:6,73,202,74,177,202:5,153,202:5,-1:20" +
",202:5,-1,202,-1,202,75,202:2,179,202:4,76,202,77,202:9,-1:20,79,202:4,-1,2" +
"02,-1,202:11,180,202:7,178,202,-1:20,202:5,-1,202,-1,202:9,156,202:11,-1:20" +
",202:5,-1,202,-1,202:4,194,202:16,-1:20,202:5,-1,202,-1,202:4,193,202:16,-1" +
":20,202:4,81,-1,202,-1,202,82,202:4,83,202:14,-1:20,202:5,-1,202,-1,202:4,8" +
"4,202:16,-1:20,202,181,202:3,-1,202,-1,202:21,-1:11");

	public Token next_token ()
		throws java.io.IOException {
		int yy_lookahead;
		int yy_anchor = YY_NO_ANCHOR;
		int yy_state = yy_state_dtrans[yy_lexical_state];
		int yy_next_state = YY_NO_STATE;
		int yy_last_accept_state = YY_NO_STATE;
		boolean yy_initial = true;
		int yy_this_accept;

		yy_mark_start();
		yy_this_accept = yy_acpt[yy_state];
		if (YY_NOT_ACCEPT != yy_this_accept) {
			yy_last_accept_state = yy_state;
			yy_mark_end();
		}
		while (true) {
			if (yy_initial && yy_at_bol) yy_lookahead = YY_BOL;
			else yy_lookahead = yy_advance();
			yy_next_state = YY_F;
			yy_next_state = yy_nxt[yy_rmap[yy_state]][yy_cmap[yy_lookahead]];
			if (YY_EOF == yy_lookahead && true == yy_initial) {

  return null;
			}
			if (YY_F != yy_next_state) {
				yy_state = yy_next_state;
				yy_initial = false;
				yy_this_accept = yy_acpt[yy_state];
				if (YY_NOT_ACCEPT != yy_this_accept) {
					yy_last_accept_state = yy_state;
					yy_mark_end();
				}
			}
			else {
				if (YY_NO_STATE == yy_last_accept_state) {
					throw (new Error("Lexical Error: Unmatched Input."));
				}
				else {
					yy_anchor = yy_acpt[yy_last_accept_state];
					if (0 != (YY_END & yy_anchor)) {
						yy_move_end();
					}
					yy_to_mark();
					switch (yy_last_accept_state) {
					case 1:
						
					case -2:
						break;
					case 2:
						{ return getSym(yytext());}
					case -3:
						break;
					case 3:
						{ }
					case -4:
						break;
					case 4:
						{ yychar = 0;}
					case -5:
						break;
					case 5:
						{ }
					case -6:
						break;
					case 6:
						{string.setLength(0);yybegin(CHAR);string.append(yytext());}
					case -7:
						break;
					case 7:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -8:
						break;
					case 8:
						{string.setLength(0);yybegin(STRING);}
					case -9:
						break;
					case 9:
						{ return new Token(yytext(), yyline, yychar, TokenType.INTEGER_LITERAL);}
					case -10:
						break;
					case 10:
						{ if(isValidBracket()) {return getSym(yytext());} else {printErrorMessage("Unmatched Bracket"); return new Token(yytext(), yyline, yychar, true, TokenType.NEUTRAL);}}
					case -11:
						break;
					case 11:
						{ return getSym(yytext());}
					case -12:
						break;
					case 12:
						{ return getSym(yytext());}
					case -13:
						break;
					case 13:
						{ }
					case -14:
						break;
					case 14:
						{yybegin(C_COMMENT);}
					case -15:
						break;
					case 15:
						{string.setLength(0);yybegin(ESCAPE_CHAR);nextState=END_CHAR;string.append(yytext());}
					case -16:
						break;
					case 16:
						{ return new Token(yytext(), yyline, yychar, yytext().equals("true") || yytext().equals("false") ? TokenType.BOOLEAN_LITERAL: TokenType.NEUTRAL);}
					case -17:
						break;
					case 17:
						{string.append(yytext());}
					case -18:
						break;
					case 18:
						{printErrorMessage("Unclosed double quote literal"); yybegin(nextState);return new Token(string.toString(), yyline, yychar, true, TokenType.STRING_LITERAL);}
					case -19:
						break;
					case 19:
						{yybegin(ESCAPE_CHAR); string.append(yytext()); nextState=STRING;}
					case -20:
						break;
					case 20:
						{yybegin(YYINITIAL);return new Token(string.toString(), yyline, yychar, TokenType.STRING_LITERAL); }
					case -21:
						break;
					case 21:
						{printErrorMessage("Invalid Escape Character"); yybegin(nextState);return new Token(string.toString(), yyline, yychar, true, yy_lexical_state == STRING? TokenType.STRING_LITERAL: TokenType.CHARACTER_LITERAL);}
					case -22:
						break;
					case 22:
						{string.append(yytext());yybegin(nextState);}
					case -23:
						break;
					case 23:
						{string.append(yytext());yybegin(nextState);}
					case -24:
						break;
					case 24:
						{string.append(yytext());yybegin(nextState);}
					case -25:
						break;
					case 25:
						{string.append(yytext());yybegin(nextState);}
					case -26:
						break;
					case 26:
						{string.append(yytext());yybegin(nextState);}
					case -27:
						break;
					case 27:
						{string.append(yytext());yybegin(nextState);}
					case -28:
						break;
					case 28:
						{string.append(yytext());yybegin(nextState);}
					case -29:
						break;
					case 29:
						{string.append(yytext());yybegin(nextState);}
					case -30:
						break;
					case 30:
						{string.append(yytext());yybegin(END_CHAR);}
					case -31:
						break;
					case 31:
						{printErrorMessage("unclosed char literal " + string); return new Token(string.toString(), yyline, yychar, true, TokenType.CHARACTER_LITERAL);}
					case -32:
						break;
					case 32:
						{yybegin(YYINITIAL);string.append(yytext());return new Token(string.toString(), yyline, yychar, TokenType.CHARACTER_LITERAL);}
					case -33:
						break;
					case 33:
						{}
					case -34:
						break;
					case 34:
						{yybegin(YYINITIAL);}
					case -35:
						break;
					case 36:
						{ return getSym(yytext());}
					case -36:
						break;
					case 37:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -37:
						break;
					case 38:
						{ return new Token(yytext(), yyline, yychar, TokenType.INTEGER_LITERAL);}
					case -38:
						break;
					case 39:
						{ if(isValidBracket()) {return getSym(yytext());} else {printErrorMessage("Unmatched Bracket"); return new Token(yytext(), yyline, yychar, true, TokenType.NEUTRAL);}}
					case -39:
						break;
					case 40:
						{ return getSym(yytext());}
					case -40:
						break;
					case 41:
						{ return getSym(yytext());}
					case -41:
						break;
					case 42:
						{ return new Token(yytext(), yyline, yychar, yytext().equals("true") || yytext().equals("false") ? TokenType.BOOLEAN_LITERAL: TokenType.NEUTRAL);}
					case -42:
						break;
					case 43:
						{}
					case -43:
						break;
					case 45:
						{ return getSym(yytext());}
					case -44:
						break;
					case 46:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -45:
						break;
					case 47:
						{ return new Token(yytext(), yyline, yychar, TokenType.INTEGER_LITERAL);}
					case -46:
						break;
					case 48:
						{ return new Token(yytext(), yyline, yychar, yytext().equals("true") || yytext().equals("false") ? TokenType.BOOLEAN_LITERAL: TokenType.NEUTRAL);}
					case -47:
						break;
					case 49:
						{}
					case -48:
						break;
					case 51:
						{ return getSym(yytext());}
					case -49:
						break;
					case 52:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -50:
						break;
					case 53:
						{ return new Token(yytext(), yyline, yychar, yytext().equals("true") || yytext().equals("false") ? TokenType.BOOLEAN_LITERAL: TokenType.NEUTRAL);}
					case -51:
						break;
					case 55:
						{ return getSym(yytext());}
					case -52:
						break;
					case 56:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -53:
						break;
					case 57:
						{ return new Token(yytext(), yyline, yychar, yytext().equals("true") || yytext().equals("false") ? TokenType.BOOLEAN_LITERAL: TokenType.NEUTRAL);}
					case -54:
						break;
					case 59:
						{ return getSym(yytext());}
					case -55:
						break;
					case 60:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -56:
						break;
					case 62:
						{ return getSym(yytext());}
					case -57:
						break;
					case 63:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -58:
						break;
					case 65:
						{ return getSym(yytext());}
					case -59:
						break;
					case 66:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -60:
						break;
					case 67:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -61:
						break;
					case 68:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -62:
						break;
					case 69:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -63:
						break;
					case 70:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -64:
						break;
					case 71:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -65:
						break;
					case 72:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -66:
						break;
					case 73:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -67:
						break;
					case 74:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -68:
						break;
					case 75:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -69:
						break;
					case 76:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -70:
						break;
					case 77:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -71:
						break;
					case 78:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -72:
						break;
					case 79:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -73:
						break;
					case 80:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -74:
						break;
					case 81:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -75:
						break;
					case 82:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -76:
						break;
					case 83:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -77:
						break;
					case 84:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -78:
						break;
					case 85:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -79:
						break;
					case 86:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -80:
						break;
					case 87:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -81:
						break;
					case 88:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -82:
						break;
					case 89:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -83:
						break;
					case 90:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -84:
						break;
					case 91:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -85:
						break;
					case 92:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -86:
						break;
					case 93:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -87:
						break;
					case 94:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -88:
						break;
					case 95:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -89:
						break;
					case 96:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -90:
						break;
					case 97:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -91:
						break;
					case 98:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -92:
						break;
					case 99:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -93:
						break;
					case 100:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -94:
						break;
					case 101:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -95:
						break;
					case 102:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -96:
						break;
					case 103:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -97:
						break;
					case 104:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -98:
						break;
					case 105:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -99:
						break;
					case 106:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -100:
						break;
					case 107:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -101:
						break;
					case 108:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -102:
						break;
					case 109:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -103:
						break;
					case 110:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -104:
						break;
					case 111:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -105:
						break;
					case 112:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -106:
						break;
					case 113:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -107:
						break;
					case 114:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -108:
						break;
					case 115:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -109:
						break;
					case 116:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -110:
						break;
					case 117:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -111:
						break;
					case 118:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -112:
						break;
					case 119:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -113:
						break;
					case 120:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -114:
						break;
					case 121:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -115:
						break;
					case 122:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -116:
						break;
					case 123:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -117:
						break;
					case 124:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -118:
						break;
					case 125:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -119:
						break;
					case 126:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -120:
						break;
					case 127:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -121:
						break;
					case 128:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -122:
						break;
					case 129:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -123:
						break;
					case 130:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -124:
						break;
					case 131:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -125:
						break;
					case 132:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -126:
						break;
					case 133:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -127:
						break;
					case 134:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -128:
						break;
					case 135:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -129:
						break;
					case 136:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -130:
						break;
					case 137:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -131:
						break;
					case 138:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -132:
						break;
					case 139:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -133:
						break;
					case 140:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -134:
						break;
					case 141:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -135:
						break;
					case 142:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -136:
						break;
					case 143:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -137:
						break;
					case 144:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -138:
						break;
					case 145:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -139:
						break;
					case 146:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -140:
						break;
					case 147:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -141:
						break;
					case 148:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -142:
						break;
					case 150:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -143:
						break;
					case 151:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -144:
						break;
					case 152:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -145:
						break;
					case 153:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -146:
						break;
					case 154:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -147:
						break;
					case 155:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -148:
						break;
					case 156:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -149:
						break;
					case 157:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -150:
						break;
					case 158:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -151:
						break;
					case 159:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -152:
						break;
					case 160:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -153:
						break;
					case 161:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -154:
						break;
					case 162:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -155:
						break;
					case 163:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -156:
						break;
					case 164:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -157:
						break;
					case 165:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -158:
						break;
					case 166:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -159:
						break;
					case 167:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -160:
						break;
					case 168:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -161:
						break;
					case 169:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -162:
						break;
					case 170:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -163:
						break;
					case 171:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -164:
						break;
					case 172:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -165:
						break;
					case 173:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -166:
						break;
					case 174:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -167:
						break;
					case 175:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -168:
						break;
					case 176:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -169:
						break;
					case 177:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -170:
						break;
					case 178:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -171:
						break;
					case 179:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -172:
						break;
					case 180:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -173:
						break;
					case 181:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -174:
						break;
					case 182:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -175:
						break;
					case 183:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -176:
						break;
					case 184:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -177:
						break;
					case 185:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -178:
						break;
					case 186:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -179:
						break;
					case 187:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -180:
						break;
					case 188:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -181:
						break;
					case 189:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -182:
						break;
					case 190:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -183:
						break;
					case 191:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -184:
						break;
					case 192:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -185:
						break;
					case 193:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -186:
						break;
					case 194:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -187:
						break;
					case 195:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -188:
						break;
					case 196:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -189:
						break;
					case 197:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -190:
						break;
					case 198:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -191:
						break;
					case 199:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -192:
						break;
					case 200:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -193:
						break;
					case 201:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -194:
						break;
					case 202:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -195:
						break;
					case 203:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -196:
						break;
					case 204:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -197:
						break;
					case 205:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -198:
						break;
					case 206:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -199:
						break;
					case 207:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -200:
						break;
					case 208:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -201:
						break;
					case 209:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -202:
						break;
					case 210:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -203:
						break;
					case 211:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -204:
						break;
					case 212:
						{ return new Token(yytext(), yyline, yychar, TokenType.IDENTIFIER);}
					case -205:
						break;
					default:
						yy_error(YY_E_INTERNAL,false);
					case -1:
					}
					yy_initial = true;
					yy_state = yy_state_dtrans[yy_lexical_state];
					yy_next_state = YY_NO_STATE;
					yy_last_accept_state = YY_NO_STATE;
					yy_mark_start();
					yy_this_accept = yy_acpt[yy_state];
					if (YY_NOT_ACCEPT != yy_this_accept) {
						yy_last_accept_state = yy_state;
						yy_mark_end();
					}
				}
			}
		}
	}
}
